package com.baizhi.dao;

import com.baizhi.entity.Guru;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * Created by Administrator on 2019/4/7.
 */
public interface GuruDao {
    Integer selectAllGuruCount(@Param("guruName") String guruName);
    void addGuru(@Param("guru")Guru guru);
    void delateGuru(@Param("ids")Integer[] ids);
    void updateGuru(@Param("guru")Guru guru);
    List<Guru> selectAllGuru(@Param("begin")int begin,@Param("size") int size, @Param("guruName")String guruName);

    List<Guru> selectAllGuru2();
}
